package com.jj.service;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class DemoService {

    private final DemoService02 demoService02;

    public String demo03(String str){
        String s = str + ",hello";
        System.out.println(s);
        demoService02.addLog("核心日志");
        return s;
    }
}
